<p>&nbsp;</p>
<h3>Login</h3>
<form action="<?php echo base_url() ?>member/login" method="post">
    <fieldset>
        <div>
            <label for="username">UID : </label>
            <input type="text" name="username" id="username"/>
        </div>
        <div>
            <label for="password">Password : </label>
            <input type="password" name="password" id="password" />
        </div>
        <div class="submit">
            <input type="submit" name="submit" value="submit" />
        </div>
    </fieldset>
</form>

<h3>Registrasi</h3>
<div><?php echo $err_msg; ?></div>
<form action="<?php echo base_url() ?>register" method="post">
    <table>
        <tr>
            <td>email</td>
            <td><input type="text" name="email" /></td>
        </tr>
        <tr>
        	<td colspan="2">
        		<?php echo $captcha; ?>
        	</td>
        </tr>
        <tr>
            <td></td>
            <td><input type="submit" value="register" /></td>
        </tr>
    </table>
    <input type="hidden" name="referral_uid" value="<?php echo (isset($rv) && !empty($rv)) ? $rv : ""; ?>" />
</form>